package myfirstproject.firstproject.domain.DTO;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "用户点赞文章DTO")
public class UserGiveUpDTO {

    @Schema(description= "文章id")
    private String articleId;

    @Schema(description= "文章点赞者id")
    @TableId(value = "give_up_id", type = IdType.ASSIGN_ID)
    private String giveUpId;
}
